extends layout

block content

    div
        table.table
            if results[0]
                thead
                    tr
                        each value, key in results[0]
                            th= key
                        th view
            tbody
                each row in results
                    tr
                        each column in row
                            td= column
                        td
                            a(href="#{row.url}") view